import {  post, del, put } from "@/request"

// 获取分区信息
export const getPartitionList = (data: any) => {
    return post("/area/getArea", data)
}

//删除分区信息
export const deletePartitionInfo = (data: any) => {
    return del("/area/deleteArea", data)
}

//添加分区信息
export const addPartitionInfo = (data: any) => {
    console.log(data)
    return post("/area/addArea", data)
}

//修改分区信息
export const updatePartitionInfo = (data: any) => {
    return put("/area/updateArea", data)
}

